﻿
<div class="row my-2">
    <div class="col-sm-4">

        <form class="form-inline">
            <div class="form-group">
                <label for="dbList">数据库：</label>
                <select id="dbList" class="form-control">
                    @for (int i = 0; i < ViewBag.Dbs.Count; i++)
                    {
                        <option>@ViewBag.Dbs[i]</option>
                    }
                </select>
            </div>
        </form>
    </div>
</div>
<div class="row my-2">
    <div class="col-sm-12">
        <form class="form-inline">

            <div class="form-group">
                <label for="tableList">数据表：</label>
                <select id="tableList" class="form-control">
                    @for (int i = 0; i < ViewBag.Tables.Count; i++)
                    {
                        <option>@ViewBag.Tables[i]</option>
                    }
                </select>

            </div>
            <button id="modelGenerate" type="button" class="btn btn-success ml-2">生成</button>
        </form>

    </div>
</div>

<div class="row my-2">
    <div class="col-sm-12">
        <form role="form">
            <div class="form-group">
                <label for="name">文本框</label>
                <textarea id="codeResult" class="form-control" rows="100"></textarea>
            </div>
        </form>
    </div>
</div>
